<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>

    <title>Doctor E</title>

    <link rel="shortcut icon" href="assets/img/logo2x.png"/>
    <!-- Bootstrap core CSS -->
    <link href="assets/css/bootstrap.css" rel="stylesheet"/>
    <!--external css-->
    <link rel="stylesheet" type="text/css" href="assets/font-awesome/css/font-awesome.css"/>
    <link rel="stylesheet" type="text/css" href="assets/lineicons/style.css">

    <!-- Custom styles for this template -->
    <link href="assets/css/style.css" rel="stylesheet">
    <link href="assets/css/style-responsive.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
</head>

<body>

<section id="container">

    <div th:replace="tools :: header"></div>

    <div th:replace="tools :: sidebar "></div>

    <!-- **********************************************************************************************************************************************************
    MAIN CONTENT
    *********************************************************************************************************************************************************** -->
    <!--main content start-->
    <section id="main-content">
        <section class="wrapper site-min-height">
            <h3><i class="fa fa-angle-right"></i> Blank Page</h3>
            <div class="row mt">
                <div class="col-lg-12">
                    <div class="form-panel">
                        <h3 class="text-center">待诊申请记录</h3>
                        <table class="table table-striped table-advance table-hover">

                            <thead class="table-bordered">
                            <tr class="bg-success">
                                <th><i class="fa fa-sort-numeric-asc"></i> 任务id</th>
                                <th><i class="fa fa-user"></i> 申请人</th>
                                <th><i class="fa fa-calendar"></i> 申请日期</th>
                                <th><i class="fa fa-calendar-check-o"></i> 任务日期</th>
                                <th><i class=" fa fa-pencil"></i> 备注</th>
                                <th><i class="fa fa-circle-o"></i>状态</th>
                                <th><i class=" fa fa-cog"></i> 操作</th>
                            </tr>
                            </thead>

                            <tbody>
                            <tr>
                                <td>
                                    <a href="/viewrecord?rbid=rb-30378f6f298d-20180505194215">rb-30378f6f298d-20180505194215</a>
                                </td>
                                <td>andy</td>
                                <td>2018-05-06</td>
                                <td>16:13:29</td>
                                <td></td>
                                <td>已提交</td>
                                <td>
                                    <div>
                                        <button class="btn btn-sm btn-success" onclick="handleTask(this,'act')">接受</button>
                                        <button class="btn btn-sm btn-danger" onclick="handleTask(this,'rjt')">拒绝</button>
                                    </div>

                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <a href="/viewrecord?rbid=rb-0c1695eb0c76-20180505195550">rb-0c1695eb0c76-20180505195550</a>
                                </td>
                                <td>andy</td>
                                <td>2018-05-06</td>
                                <td>16:13:29</td>
                                <td></td>
                                <td>已预约</td>
                                <td>


                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <a href="/viewrecord?rbid=rb-3a7cbdbe41cc-20180505202824">rb-3a7cbdbe41cc-20180505202824</a>
                                </td>
                                <td>wmy</td>
                                <td>2018-05-06</td>
                                <td>16:13:29</td>
                                <td></td>
                                <td>已预约</td>
                                <td>


                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <a href="/viewrecord?rbid=rb-fcebc9733142-20180506212944">rb-fcebc9733142-20180506212944</a>
                                </td>
                                <td>andy</td>
                                <td>2018-05-06</td>
                                <td>16:13:29</td>
                                <td></td>
                                <td>已完成</td>
                                <td>


                                </td>
                            </tr>

                            </tbody>
                            <tfoot>

                            </tfoot>

                        </table>
                        <div class="inline-block form-inline">
                            <button class="btn" onclick="switchPage('pre')"> 上一页</button>
                            <button class="btn" onclick="switchPage('nxt')"> 下一页</button>
                            <button class="btn" onclick="switchPage('goto')">前往</button>
                            <input class="form-control" placeholder="页码" type="number">
                        </div>

                    </div>
                </div>
            </div>

        </section><! --/wrapper -->

    </section>

    <!--main content end-->

    <!--**********************************************************************************************
    Footer
    **********************************************************************************************-->

    <!--footer start-->
    <footer class="site-footer">
        <div class="text-center">
            Copyright © 2018 David Bai
            <a href="#main-content" class="go-top">
                <i class="fa fa-angle-up"></i>
            </a>
        </div>
    </footer>
    <!--footer end-->
</section>


<!-- js placed at the end of the document so the pages load faster -->
<script src="assets/js/jquery.js"></script>
<script src="assets/js/jquery-1.8.3.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script class="include" type="text/javascript" src="assets/js/jquery.dcjqaccordion.2.7.js"></script>
<script src="assets/js/jquery.scrollTo.min.js"></script>
<script src="assets/js/jquery.nicescroll.js" type="text/javascript"></script>
<script src="assets/js/jquery.sparkline.js"></script>

<!--common script for all pages-->
<script src="assets/js/common-scripts.js"></script>
<script>

    function handleTask(row,opt) {

    }

</script>
</body>
</html>
